﻿using System;
using IRC;
using NLog;

namespace ConsoleUI
{
    class Program
    {
        private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
        static void Main()
        {
            var connectionInfo = new ConnectionInfo
            {
                Address = "chat.freenode.net",
                Port = 6667,
                NickName = "shirajermilio",
                UserName = "Secret",
                FullName = "Secret"
            };

            var client = new IrcClient();
            client.Connect(connectionInfo);

            Logger.Info("Starting");
            while(true)
            {
                client.SendMessage(Console.ReadLine());
            }
        }
    }
}
